<template>
  <div class="layout-page">
    <router-view></router-view>

    <van-tabbar v-model="active" route>
      <van-tabbar-item to="/home" icon="wap-home-o">首页</van-tabbar-item>
      <van-tabbar-item to="/room" icon="search">找房</van-tabbar-item>
      <van-tabbar-item to="/data" icon="newspaper-o">资讯</van-tabbar-item>
      <van-tabbar-item to="/my" icon="contact">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data () {
    return {
      active: 0
    }
  },
  methods: {}
}
</script>

<style lang="less"></style>
